<template>
  <div>
    <el-table
      ref="activeTab"
      :data="iparent.itemInfo.piActiveItem"
      stripe
      size="small"
      border
      style="width: 100%;"
      round
    >
      <el-table-column :show-overflow-tooltip="true" label="商品号" prop="itemNbr" :width="colWidths.itemNbr" />
      <el-table-column :show-overflow-tooltip="true" label="部门" prop="deptNbr" :width="colWidths.deptNbr" />
      <el-table-column :show-overflow-tooltip="true" label="商品说明1" prop="item1Desc" :width="colWidths.item1Desc" />
      <el-table-column :show-overflow-tooltip="true" label="供应商之商品代码" prop="vendorStockId" :width="colWidths.vendorStockId" />
      <el-table-column :show-overflow-tooltip="true" label="供应商编号" prop="vendorNbr" :width="colWidths.vendorNbr" />
      <el-table-column :show-overflow-tooltip="true" label="供应商名称" prop="vendorName" :width="colWidths.vendorName" />
      <el-table-column :show-overflow-tooltip="true" label="单品未税成本" prop="vnpkCostAmtVnpkQty" :width="colWidths.vnpkCostAmtVnpkQty" />
      <el-table-column :show-overflow-tooltip="true" label="进项税" prop="vatIn" :width="colWidths.vatIn" />
    </el-table>
  </div>
</template>

<script>
import initData from '@/utils/initData'

export default {
  mixins: [initData],
  props: {
    iparent: {
      type: Object,
      default: null
    }
  }
}
</script>

